package com.drcoffee.drcoffeemall.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    //    订单编号
    private String code;
    //    创建时间
    private Date creation_time = new Date();
    //    公司名称
    private String firm_name;
    //    收件人
    private String recipients;
    //    联系电话
    private String phone;
    //    收件地址
    private String address;
    //    备注
    private String remark;
    //    用户账号
    private String user_account;
    //    币种
    private String currency;
    //    标准价格合计
    private BigDecimal order_before_total;
    //    折后价格合计
    private BigDecimal order_total;
    //    订单状态
    private Integer status;
    //    状态时间
    private Date status_time_01 = new Date();
    private Date status_time_02;
    private Date status_time_03;
    private Date status_time_04;
    private Date status_time_05;
    //    订单配件
    private List<OrderAttachment> orderAttachmentsList;
    private String transport_code;
    private Integer back_status;
    private Integer refund_status;
    private Integer pay_method;
    private Integer invoice_status;


    private String province;//省
    private String city;//市
    private String region;//区
    private String province_code;//省代码
    private String city_code;//市代码
    private String region_code;//区代码
}
